package com.antler.smt.portal;

import com.antler.smt.utils.LogUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 门户系统服务API
 *
 * @author vic
 * @date 2017-11-27 17:58
 */
@MapperScan("com.antler.smt.portal.mapper")
@SpringBootApplication
@EnableScheduling
public class SmtPortalApplication {
    /**
     * 日志
     */
    private static Logger log = LogUtil.get();

    public static void main(String[] args) {
        SpringApplication.run(SmtPortalApplication.class, args);
        log.info("门户系统API启动成功...");
    }
}
